package com.lwy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwy.entity.BookNovelChapter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//小说章节dao接口
@Mapper
public interface BookNovelChapterMapper extends BaseMapper<BookNovelChapter> {

    //    小说总数
    public Integer count(Integer novel_id);
    //    章节
    public BookNovelChapter newList(Integer novel_id);
    public List<BookNovelChapter> firstList(Integer novel_id);
    public BookNovelChapter firstByList(Integer novel_id);

}